<template>
  <el-form ref="form" label-position="right" class="j-attribute-set" size="mini" label-width="80px">
    <el-form-item label="栅格列数">
      <el-input-number v-model="value.span" :min="1" :max="24"></el-input-number>
    </el-form-item>
    <el-form-item label="左侧间隔">
      <el-input-number v-model="value.offset" :min="0" :max="24"></el-input-number>
    </el-form-item>
    <el-form-item label="右移格数">
      <el-input-number v-model="value.push" :min="0" :max="24"></el-input-number>
    </el-form-item>
    <el-form-item label="左移格数">
      <el-input-number v-model="value.pull" :min="0" :max="24"></el-input-number>
    </el-form-item>
  </el-form>
</template>
<script type="text/javascript">

export default {
  props: {
    value: [Array, Object, Number, String]
  },
  /**
   * 页面加载执行
   * @return {[type]} [description]
   */
  mounted() {

  }
}

</script>
<style type="text/css" lang="scss">
.j-attribute-set {
  padding: 10px;
}

.el-form-item--mini.el-form-item,
.el-form-item--small.el-form-item {
  margin-bottom: 10px;
}

.el-form--label-top .el-form-item__label {
  float: none;
  display: inline-block;
  text-align: left;
  padding: 0;
}

</style>
